<template>
    <div class="sysPreview">
        <iframe :src="previewSrc" 
                frameborder="0"
                width="100%"
                height="100%">          
        </iframe>
        <myMenu></myMenu>
    </div>
</template>
<script>
import VueBetterScroll from 'vue2-better-scroll'
import myMenu from '@/commonComponents/menu'
export default {
    components: {
        myMenu
    },
    props: [
        'item'
    ],
    data () {
        return {
            previewSrc: ''//预览地址
        }
    },
    created() {       
        // this.previewSrc = this.$route.query.src.replace(/https/,'http')
        this.previewSrc = this.$route.query.src
    },
    methods: {

    }
}
</script>
<style lang="less" scope>
.sysPreview{
    width: 100%;
    height: 100%;
}
</style>
